package org.database.config;

import org.database.quartz.TaskScheduled;
import org.simpleframework.xml.ElementList;
import org.simpleframework.xml.Root;

import java.util.List;

/**
 * 数据同步配置
 *
 * @author huyj
 * @Created 2017-02-27 22:01
 */
@Root
public class Config {
    @ElementList(entry = "ncTask", type = TaskScheduled.class, inline = true, required = true)
    private List<TaskScheduled> taskScheduleds;

    public List<TaskScheduled> getTaskScheduleds() {
        return taskScheduleds;
    }

    public void setTaskScheduleds(List<TaskScheduled> taskScheduleds) {
        this.taskScheduleds = taskScheduleds;
    }
}
